package client;


import java.io.IOException;

import java.net.DatagramSocket;

public class ChatRoom {

	
	public static void main(String[] args) throws IOException {
				
		DatagramSocket dsSend = new DatagramSocket();
		DatagramSocket dsReceive = new DatagramSocket(12306);

		SendThread st = new SendThread(dsSend);
		ReceiveThread rt = new ReceiveThread(dsReceive);

		Thread t1 = new Thread(st);
		Thread t2 = new Thread(rt);

		t1.start();
		t2.start();
						
	}
	
	public static String getConnectionName() {
		String name = "";
		return name;
	}
	
}
